import "./index.css"
import ReactDom from "react-dom";

const confirms = document.getElementById("confirms");

const Backdrop = (props) => {
    return ReactDom.createPortal(
        <div className="backdrop">
            {props.children}
        </div>,
        confirms
    )

}
export default Backdrop;